#ifndef TROLLY_H
#define TROLLY_H

#include <QDialog>
#include "database.h"
#include <qmessagebox.h>
#include "qdebug.h"

namespace Ui {
class trolly;
}

class trolly : public QDialog
{
    Q_OBJECT

public:
    int m_uid;
    bool m_isVIP;
    Database myDatabase;
    explicit trolly(QWidget *parent = nullptr,int uid = 0,bool isVIP = false);
    ~trolly();

private slots:
    void on_Quit_clicked();

    void on_Refresh_clicked();

    void on_Pay_clicked();

private:
    Ui::trolly *ui;
};

#endif // TROLLY_H
